package com.intellagric.mapper;

import com.intellagric.pojo.TraceRecordMonitor;
import com.intellagric.pojo.TraceRecordMonitorExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TraceRecordMonitorMapper {
    long countByExample(TraceRecordMonitorExample example);

    int deleteByExample(TraceRecordMonitorExample example);

    int deleteByPrimaryKey(String id);

    int insert(TraceRecordMonitor record);

    int insertSelective(TraceRecordMonitor record);

    List<TraceRecordMonitor> selectByExample(TraceRecordMonitorExample example);

    TraceRecordMonitor selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") TraceRecordMonitor record, @Param("example") TraceRecordMonitorExample example);

    int updateByExample(@Param("record") TraceRecordMonitor record, @Param("example") TraceRecordMonitorExample example);

    int updateByPrimaryKeySelective(TraceRecordMonitor record);

    int updateByPrimaryKey(TraceRecordMonitor record);
}